package com.gxuwz.weather.model;

import java.util.List;
import com.google.gson.annotations.SerializedName;

public class WeatherResponse {
    private int code;
    private String desc;
    private WeatherData data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public WeatherData getData() {
        return data;
    }

    public void setData(WeatherData data) {
        this.data = data;
    }

    public static class WeatherData {
        private CityInfo cityInfo;
        private DayWeather d1;
        private DayWeather d2;
        private DayWeather d3;
        private DayWeather d4;
        private DayWeather d5;
        private DayWeather d6;
        private DayWeather d7;

        public CityInfo getCityInfo() { return cityInfo; }
        public DayWeather getD1() { return d1; }
        public DayWeather getD2() { return d2; }
        public DayWeather getD3() { return d3; }
        public DayWeather getD4() { return d4; }
        public DayWeather getD5() { return d5; }
        public DayWeather getD6() { return d6; }
        public DayWeather getD7() { return d7; }
    }

    public static class CityInfo {
        private String areaCn;
        private String areaId;
        private String areaCode;
        private String cityCn;
        private String provCn;

        public String getAreaCn() { return areaCn; }
        public String getAreaId() { return areaId; }
        public String getAreaCode() { return areaCode; }
        public String getCityCn() { return cityCn; }
        public String getProvCn() { return provCn; }
    }

    public static class DayWeather {
        private String time;
        private String weather;
        private String temperature_max;
        private String temperature_min;
        private String wind_day;
        private String wind_night;
        private String wind_pow;
        private String day_weather_pic;
        private String night_weather_pic;

        public String getTime() { return time; }
        public String getWeather() { return weather; }
        public String getTemperatureMax() { return temperature_max; }
        public String getTemperatureMin() { return temperature_min; }
        public String getWindDay() { return wind_day; }
        public String getWindNight() { return wind_night; }
        public String getWindPow() { return wind_pow; }
        public String getDayWeatherPic() { return day_weather_pic; }
        public String getNightWeatherPic() { return night_weather_pic; }
    }

    public static class IndexData {
        private String state;
        private String reply;

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getReply() {
            return reply;
        }

        public void setReply(String reply) {
            this.reply = reply;
        }
    }
} 